import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入 element的模块
import ElementUI from 'element-ui'
// 引入element的样式
import 'element-ui/lib/theme-chalk/index.css'
import './assets/style.less' // 引入全局样式

import axios from 'axios'
import VueAxios from 'vue-axios'

// 使用elementui
Vue.use(VueAxios, axios)

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
